package com.jingtai.core.entity.member;


import com.baomidou.mybatisplus.annotation.TableName;
import com.jingtai.core.entity.BaseEntity;
import com.jingtai.validate.swagger.CApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

import io.swagger.annotations.*;


import java.util.Date;

/**
 * 用户表
 * 
 * @author sunlaiqian
 * @date 2020-12-02 15:08:10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("shop_member_info")
@ApiModel(value = "用户表", description = "用户表")
public class MemberInfo  extends BaseEntity implements Serializable {




	/**
	 * 头像
	 */
	@CApiModelProperty(value = "头像",required = true,cNotEmpty = true,groups = {Create.class,Update.class})
	private String memberHead;

	/**
	 * 昵称
	 */
	@CApiModelProperty(value = "昵称",required = true,cNotEmpty = true,groups = {Create.class,Update.class})
	private String nickName;

	/**
	 * 用户名
	 */
	@CApiModelProperty(value = "用户名",required = true,cNotEmpty = true,groups = {Create.class,Update.class})
	private String userName;

	/**
	 * 密码
	 */
	@CApiModelProperty(value = "密码",required = true,cNotEmpty = true,groups = {Create.class,Update.class})
	private String password;

	/**
	 * 手机号码
	 */
	@CApiModelProperty(value = "手机号码",required = true,cNotEmpty = true,cPhone = true,groups = {Create.class,Update.class})
	private String phone;

	/**
	 * 邮箱
	 */
	@CApiModelProperty(value = "邮箱",required = true,cNotEmpty = true,cEmail = true,groups = {Create.class,Update.class})
	private String emial;

	/**
	 * 签名
	 */
	@CApiModelProperty(value = "签名",required = true,cNotEmpty = true,groups = {Create.class,Update.class})
	private String signature;

	/**
	 * 绑定商户
	 */
	@CApiModelProperty(value = "绑定商户",groups = {Create.class,Update.class})
	private Long merchantsId;

	/**
	 * 启用状态 1:正常  2:注销  3:冻结
	 */
	@CApiModelProperty(value = "启用状态 1:正常  2:注销  3:冻结",required = true,cNotEmpty = true,groups = {Create.class,Update.class})
	private Integer enableState;


}
